home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / standard / fpc.z / fpc
Encoding:
Text File  |  2002-10-03  |  2.4 KB  |  56 lines

  1. FPC(3C)                                              Last changed: 10-20-98
  2.  
  3.  
  4. NNAAMMEE
  5.      ffppcc, ggeett__ffppcc__ccssrr, sseett__ffppcc__ccssrr, ggeett__ffppcc__iirrrr, sswwaappRRMM, sswwaappIINNXX -
  6.      Floating-point control registers
  7.  
  8. SSYYNNOOPPSSIISS
  9.      ##iinncclluuddee <<ssyyss//ffppuu..hh>>
  10.  
  11.      iinntt ggeett__ffppcc__ccssrr((vvooiidd));;
  12.  
  13.      iinntt sseett__ffppcc__ccssrr((iinntt ccssrr));;
  14.  
  15.      iinntt ggeett__ffppcc__iirrrr((vvooiidd));;
  16.  
  17.      iinntt sswwaappRRMM((iinntt xx));;
  18.  
  19.      iinntt sswwaappIINNXX((iinntt xx));;
  20.  
  21. IIMMPPLLEEMMEENNTTAATTIIOONN
  22.      IRIX systems
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.      These routines are to get and set the floating-point control registers
  26.      of MIPS floating-point units.  All of these routines take and or
  27.      return their values as 32-bit integers.
  28.  
  29.      The <<ssyyss//ffppuu..hh>> file contains unions for each of the control
  30.      registers.  Each union contains a structure that breaks out the bit
  31.      fields into the logical parts for each control register.  This file
  32.      also contains constants for fields of the control registers.
  33.  
  34.      All implementations of MIPS floating-point have a control and status
  35.      register and a implementation revision register.  The control and
  36.      status register is returned by ggeett__ffppcc__ccssrr.  The sseett__ffppcc__ccssrr routine
  37.      sets the control and status register and returns the old value.  The
  38.      implementation revision register is read-only and is returned by the
  39.      ggeett__ffppcc__iirrrr routine.
  40.  
  41.      The sswwaappRRMM routine sets only the rounding mode and returns the old
  42.      rounding mode.  The routine sswwaappIINNXX sets only the sticky inexact bit
  43.      and returns the old one.  The bits in the arguments and return values
  44.      to sswwaappRRMM and sswwaappIINNXX are right justified.
  45.  
  46. NNOOTTEESS
  47.      sswwaappRRMM and sswwaappIINNXX are in lliibbmm..aa .. The link editor searches this
  48.      library under the -lm option.
  49.  
  50. AALLSSOO SSEEEE
  51.      RR44000000 MMiiccrroopprroocceessssoorr UUsseerr''ss MMaannuuaall
  52.  
  53. SSEEEE AALLSSOO
  54.      This man page is available only online.
  55.  
  56.